#ifndef PRM_H_
#define PRM_H_


#include "mmu.h"
#include "mainMemory.h"
#include "diskMemory.h"
#include "pMailbox.h"

//prm Process mailbox message
typedef struct prmMessage{
	int pid;		//processId
	int pageNum;	//page number
}prmMessage_t;

blockingQueue* prmMailbox;  //the process mailbox
pthread_t prmThread;		//pointer to the prm thread

/**
 * param diskStart is never used
 * */
void initPRM();
void stopPRM();
void loadPageToMM();
void killPRM();

#endif /*PRM_H_*/
